Log Levels
FastTransfer uses Serilog for logging and supports multiple log levels to control the verbosity of output.
You can set the loglevel using the --loglevel parameter followed by a value in the list of available log levels.
Available Log Levels
| Level | Description | Use Case |
|---|---|---|
| Verbose | Most detailed tracing information | Deep troubleshooting |
| Debug | Detailed diagnostic information | Development and troubleshooting |
| Information | General informational messages | Normal operation (default) |
| Warning | Potentially harmful situations | Issues that don't prevent operation |
| Error | Error events that allow continuation | Operation failures |
| Fatal | Severe errors causing termination | Fatal application errors |
note
The --loglevel parameter accepts verbose, debug, information, warning and error. Fatal can only be set through the MinimumLevel property of the settings file.
Configuration
You can also configure the log level in the FastTransfer_Settings.json file by modifying the MinimumLevel property:
{
"Serilog": {
"MinimumLevel": "Debug",
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "{Timestamp:yyyy-MM-ddTHH:mm:ss.fff zzz} -|- {Application} -|- {runid} -|- {Level:u12} -|- {fulltargetname} -|- {Message}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "Logs\\FastTransfer_.json",
"rollingInterval": "Day"
}
}
]
}
}